@import url(../../css/base.less);
@leftWidth: 200px;
.page_container {
  height: 100vh;
  width: 100vw;
  background: #eff1f5;
}
.pageHeader {
  height: 50px;
  background: @white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  .logo {
    width: @leftWidth;
    padding: 0 20px;
  }
  .logoText {
    font-size: 15px;
    color: @light_blue;
    font-weight: 600;
  }
  .menuOper {
    color: @gray_99;
  }
  .headNav {
    height: 30px !important;
    width: 50% !important;
    line-height: 30px;
    position: relative;
    margin-left: 20px;
    li {
      display: inline-block;
      margin: 0 20px;
      cursor: pointer;
      &:hover,
      &.active {
        color: @blue;
        .transition(all, 0.1s);
      }
    }
    .line {
      position: absolute;
      width: 0;
      height: 2px;
      background: @blue;
      top: 30px;
      left: 0;
      .transition(all, 0.1s);
    }
  }
  .headRight {
    text-align: right;
    padding-right: 20px;
    .topSearch {
      height: 36px;
      border-radius: 0.3em;
      border: 1px solid #dcdfe6;
      padding-left: 36px;
      position: relative;
      margin-right: 20px;
      .iconfont {
        position: absolute;
        top: 0;
        left: 0;
        height: 36px;
        width: 36px;
        line-height: 34px;
        text-align: center;
        cursor: pointer;
      }
      input {
        width: 100%;
        display: block;
        height: 100%;
        line-height: 34px;
        border: none;
        outline: none;
        background: none;
      }
    }
    .notice {
      display: inline-block;
      margin-right: 20px;
      cursor: pointer;
      position: relative;
      .num {
        position: absolute;
        width: 12px;
        height: 12px;
        background: @red;
        border-radius: 50%;
        top: -5px;
        right: -5px;
        color: @white;
        text-align: center;
        line-height: 12px;
        font-size: 10px;
      }
      .iconfont {
        color: @gray_55;
      }
    }
    .user {
      line-height: 30px;
      cursor: pointer;
      display: inline-block;
      .userName {
        color: @gray_55;
        display: inline-block;
        margin-right: 15px;
      }
      img {
        width: 30px;
        height: 30px;
        display: inline-block;
      }
    }
  }
}
.pageBody {
  padding-top: 5px;
  .leftMenu {
    position: relative;
    // width: @leftWidth;
    width: 0;
    padding-top: 0;
    background: #fff;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
  }
  .rightContent {
    width: 50%;
    height: 100% !important;
    padding: 0 0 5px 10px;
    transition: all 0.2s;
  }
}
.homePage {
  padding: 0 50px;
  height: 100%;
  overflow-y: auto;
  .homePageContent {
    padding: 15px 0;
    .contentTitle {
      line-height: 30px;
      font-size: 15px;
    }
    .comModal {
      padding: 10px 15px;
      .title {
        font-size: 13px;
        font-weight: 600;
      }
      > .flex-1 {
        height: 100% !important;
      }
    }
    .taskList {
      padding: 15px;
      font-size: 14px;
      > div {
        height: 80px !important;
      }
      .number {
        margin-top: 5px;
      }
    }
    .noticeList {
      max-height: 180px;
      overflow-y: auto;
      .listItem {
        margin-top: 10px;
        .comMark {
          margin-right: 15px;
        }
        .time {
          font-size: 12px;
          color: #999;
        }
      }
    }
    .toolList {
      .listItem {
        padding: 15px;
        border-radius: 0.3em;
        border: 1px solid #e6e6e6;
        margin-top: 15px;
      }
      .iconBox {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: #f1f1f1;
        color: #fff;
        text-align: center;
        line-height: 30px;
        margin-right: 15px;
        &.url {
          background: #ebaf35;
        }
        &.IP {
          background: #b452f6;
        }
      }
    }
  }
}
.comPage {
  height: 100%;
  overflow: hidden;
  overflow-y: auto;
  padding-right: 5px;
}
.comModal {
  border-radius: 5px;
  height: auto;
  min-height: 30px;
  transition: all 0.2s;
  position: relative;
  .titleText {
    color: #444;
    font-size: 16px;
    font-weight: 600;
  }
  .titleIcon {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: #f1f1f1;
    position: relative;
    margin-right: 10px;
    &::after {
      content: "";
      position: absolute;
      height: 34px;
      width: 34px;
      border-radius: 50%;
      left: 3px;
      top: 3px;
      background: #d6d6d6;
    }
    .iconfont {
      position: absolute;
      z-index: 5;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
    }
    &.purple {
      background: #f9e9fa;
      &::after {
        background: #d45df2;
      }
      .iconfont {
        color: #fff;
      }
    }
    &.pink {
      background: #fbe7f0;
      &::after {
        background: #f25daa;
      }
      .iconfont {
        color: #fff;
      }
    }
    &.green {
      background: #e7fbfb;
      &::after {
        background: #5de3f2;
      }
      .iconfont {
        color: #fff;
      }
    }
    &.blue {
      background: #e7f0fb;
      &::after {
        background: #5db9f2;
      }
      .iconfont {
        color: #fff;
      }
    }
    &.purpleblue {
      background: #ebe7fb;
      &::after {
        background: #715df2;
      }
      .iconfont {
        color: #fff;
      }
    }
    &.purpledark {
      background: #f0e7fb;
      &::after {
        background: #7238ba;
      }
      .iconfont {
        color: #fff;
      }
    }
    &.orange {
      background: #fcf3ea;
      &::after {
        background: #f6802c;
      }
      .iconfont {
        color: #fff;
      }
    }
    &.yellow {
      background: #fcf7ea;
      &::after {
        background: #f6bd2c;
      }
      .iconfont {
        color: #fff;
      }
    }
  }
  .titleMore {
    font-size: 14px;
    cursor: pointer;
    color: @blue;
    .iconfont {
      font-size: 14px;
    }
  }
  .markList {
    padding: 5px 0;
  }
  .infoList {
    > .flex {
      padding: 5px 0;
    }
    color: #666;
    .name {
      color: #999;
      width: 100px;
    }
    .phone {
      span {
        display: inline-block;
      }
      .iconfont {
        margin-left: 30px;
      }
    }
  }
  .flex-1 {
    height: 100% !important;
  }
  &.comModalClose {
    width: 0 !important;
    padding: 15px 10px !important;
    overflow: hidden;
    > div {
      overflow: hidden;
    }
  }
  .modalOper {
    position: absolute;
    height: 30px;
    width: 20px;
    background: #e6e6e6;
    right: 0;
    top: 50%;
    margin-top: -15px;
    border-top-left-radius: 0.3em;
    border-bottom-left-radius: 0.3em;
    .iconfont {
      position: absolute;
      transition: all 0.3s;
      transform: rotate(90deg);
      width: 100%;
      text-align: center;
      top: 5px;
      font-size: 12px;
      color: #999;
      cursor: pointer;
    }
    &.modalOperClose {
      .iconfont {
        transform: rotate(-90deg);
      }
    }
  }
}
.comMark {
  display: inline-block;
  padding: 0 5px;
  line-height: 22px;
  height: 24px;
  font-size: 12px;
  border: 1px solid #e6e6e6;
  background: #f6f6f6;
  color: #666;
  border-radius: 0.3em;
  &.greenLight {
    border-color: rgb(97, 210, 146);
    background: rgb(235, 249, 237);
    color: rgb(97, 210, 146);
  }
  &.red {
    border-color: rgb(255, 127, 127);
    background: rgb(251, 240, 240);
    color: rgb(255, 127, 127);
  }
  &.blue {
    border-color: rgb(25, 91, 245);
    background: rgb(240, 245, 251);
    color: rgb(25, 91, 245);
  }
}
.comTabBox {
  padding: 0 15px;
  li {
    display: inline-block;
    padding: 0 15px;
    line-height: 40px;
    height: 40px;
    position: relative;
    cursor: pointer;
    user-select: none;
    &::after {
      content: "";
      position: absolute;
      width: 100%;
      height: 2px;
      background: @blue;
      bottom: 0;
      left: 0;
      display: none;
    }
    &.active {
      &::after {
        display: block;
      }
    }
  }
}
.layui-layer-btn .layui-layer-btn0 {
  border-color: #dedede;
  background-color: #fff;
  color: #333
}
.layui-layer-btn .layui-layer-btn1 {
  border-color: transparent;
  background-color: #1e9fff;
  color: #fff
}
.layui-layer-dialog .layui-layer-content{
  overflow-y: scroll;
}
.layui-layer-btn a{
  line-height: 26px;
}
.layui-tree-icon {
  line-height: 10px;
}
.layui-input,
.layui-select {
  border-radius: 3px;
  height: 32px;
  line-height: 30px;
}
.layui-input:focus,
.layui-textarea:focus {
  border-color: @blue !important;
  box-shadow: 0 0 0 3px rgba(42, 151, 191, 0.08);
}
.layui-input-prefix,
.layui-input-split,
.layui-input-suffix,
.layui-input-suffix .layui-input-affix {
  line-height: 32px;
}
.layui-btn-sm {
  font-size: 14px;
  line-height: 27px;
}
.layui-form-select dl dd.layui-this {
  color: @blue;
  font-weight: 400;
  background: rgba(70, 135, 233, 0.1);
}
.layui-laydate {
  .layui-this {
    background: @blue !important;
    > div {
      background: @blue !important;
    }
  }
  .layui-laydate-header i:hover,
  .layui-laydate-header span:hover {
    color: @blue !important;
  }
  .layui-laydate-footer span:hover {
    color: @blue !important;
  }
}
.layui-btn-primary:hover {
  border-color: @blue;
  color: #333;
}
.layui-btn-default {
  background: #e6e6e6;
  color: #444;
  &:hover {
    color: #333;
  }
}
.layui-form-checkbox[lay-skin=primary]>.layui-icon-indeterminate{
  border-color: @blue !important;
  &::before{
    background-color: @blue !important;
  }
}
.layui-table-checked{
  background-color: #eff6fd;
  &.layui-table-hover{
    background-color: #c4e6fa;
  }
}
.layui-table-hover{
  background-color: #dff0fa;
}
.btn-empty {
  padding: 0 10px;
  height: 30px;
  line-height: 30px;
}
.btn-empty-oper {
  position: relative;
  user-select: none;
  padding-right: 15px;
  .iconfont {
    position: absolute;
    line-height: 100%;
    top: 10px;
    right: 0;
    font-size: 12px;
    transition: all 0.3s;
    transform: rotate(0deg);
  }
  &.btn-empty-oper-open {
    .iconfont {
      transform: rotateZ(180deg);
    }
  }
}
.searchFormBox {
  display: none;
}
.form-item {
  min-height: 32px;
  margin-bottom: 10px;
  &.form-item-col {
    flex-direction: column;
    .item-name,.item-content{
      padding-right:30px;
      width: 100%;
    }
  }
  .item-name {
    padding-right: 10px;
    line-height: 30px;
  }
  .item-content {
    width: 200px;
  }
}
